#ifndef LOGINWINDOW_H
#define LOGINWINDOW_H

#include <QWidget>
#include "util/serverhelper.h"

namespace Ui {
class LoginWindow;
}

namespace WordMemory
{
    class LoginWindow : public QWidget
    {
        Q_OBJECT

    public:
        explicit LoginWindow(QWidget *parent = nullptr);
        ~LoginWindow();

    private:
        void setupStyles();

    signals:
        void loginSuccess();

    private slots:
        void on_loginButton_clicked();

    private:
        Ui::LoginWindow *ui;
        ServerHelper* serverhelper;
    };
}

#endif // LOGINWINDOW_H
